﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VietThinks.Model;

namespace VietThinks.Mapping.Maps
{
    public class OptionMap : DomainEntityMap<Option>
    {
        public OptionMap()
        {
            Schema("Product");
            Table("Option");
            Map(m => m.Code).Unique().Not.Nullable();
            Map(m => m.Name);                        
        }
    }
}
